/*

* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Smart-Shop开源商城系统/ Java商城-首选电商平台系统 请务必保留此注释头信息
* |     开源地址: https://gitee.com/ningbo-qishan/gruul-mall
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     可正常分享和学习源码,未经授权 不可商用！
* |     商业版中台购买/开源版商业授权 联系技术客服
* |     官网:  https://www.73app.cn/
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Copyright (c) 2016-2999 宁波启山智软科技有限公司
* |     版权所有 ,侵权必究！
* ------------------------------------------------------------------------

*/
package com.medusa.gruul.discount.api.model.vo.manager;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 *
 * 满减活动
 *
 * @author lcysike
 * @since 2019-12-09
 */
@Data
@ApiModel(value = "FullScaleVo", description = "满减活动查询返回信息")
public class FullScaleVo {

    private Long id;

    @ApiModelProperty(value = "活动名称")
    private String name;

    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "可用抵扣： 0-积分")
    private String deductionType;

    @ApiModelProperty(value = "适用优惠：0-会员价  1-优惠劵 (多个用逗号隔开)")
    private String applyType;

    @ApiModelProperty(value = "适用商品：  0-全部商品参与  1-指定商品参与  2-指定商品不参与")
    private Integer productType;

    @ApiModelProperty(value = "适用商品数量")
    private Integer productNumber;

    @ApiModelProperty(value = "活动状态：  0-未开始  1-进行中  2-已结束")
    private Integer status;

    @ApiModelProperty("参与人数")
    private Integer peopleNum;

    @ApiModelProperty("支付订单数")
    private Integer payOrder;

    @ApiModelProperty("金额总数")
    private BigDecimal gaapTotal;

    @ApiModelProperty(value = "满减活动关联商品信息")
    private List<FullScaleProductVo> fullScaleProducts;

    @ApiModelProperty(value = "满减活动规则信息")
    private List<FullScaleRuleVo> fullScaleRules;

}
